<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Spring 生态系统全景图</title>
    <link href="https://cdn.staticfile.org/font-awesome/6.4.0/css/all.min.css" rel="stylesheet">
    <link href="https://cdn.staticfile.org/tailwindcss/2.2.19/tailwind.min.css" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/mermaid@latest/dist/mermaid.min.js"></script>
    <style>
        body {
            font-family: 'Noto Sans SC', Tahoma, Arial, Roboto, "Droid Sans", "Helvetica Neue", "Droid Sans Fallback", "Heiti SC", "Hiragino Sans GB", Simsun, sans-serif;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            min-height: 100vh;
        }
        .hero-gradient {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }
        .card-hover {
            transition: all 0.3s ease;
        }
        .card-hover:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        }
        .text-gradient {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .drop-cap {
            float: left;
            font-size: 4rem;
            line-height: 1;
            font-weight: 700;
            margin-right: 0.5rem;
            margin-top: 0.2rem;
            color: #667eea;
        }
        .feature-icon {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .mermaid {
            display: flex;
            justify-content: center;
            margin: 2rem 0;
        }
    </style>
</head>
<body>
    <!-- Hero Section -->
    <section class="hero-gradient text-white py-20">
        <div class="container mx-auto px-6 text-center">
            <h1 class="text-5xl md:text-6xl font-bold mb-4">
                <i class="fas fa-leaf mr-4"></i>Spring 生态系统
            </h1>
            <p class="text-xl md:text-2xl mb-8 opacity-90">构建现代化企业级应用的完整解决方案</p>
            <div class="flex justify-center space-x-4">
                <span class="bg-white bg-opacity-20 px-4 py-2 rounded-full">
                    <i class="fas fa-code mr-2"></i>轻量级框架
                </span>
                <span class="bg-white bg-opacity-20 px-4 py-2 rounded-full">
                    <i class="fas fa-puzzle-piece mr-2"></i>模块化设计
                </span>
                <span class="bg-white bg-opacity-20 px-4 py-2 rounded-full">
                    <i class="fas fa-rocket mr-2"></i>快速开发
                </span>
            </div>
        </div>
    </section>

    <!-- Main Content -->
    <div class="container mx-auto px-6 py-12">
        <!-- Introduction -->
        <div class="bg-white rounded-2xl shadow-xl p-8 mb-12">
            <h2 class="text-3xl font-bold mb-6 text-gray-800">
                <i class="fas fa-info-circle mr-3 text-gradient"></i>Spring 框架概览
            </h2>
            <p class="text-lg text-gray-700 leading-relaxed">
                <span class="drop-cap">S</span>pring 生态系统是 Java 企业级开发的基石，它不仅仅是一个框架，更是一个完整的解决方案体系。从基础的依赖注入到微服务架构，从 Web 开发到安全认证，Spring 为开发者提供了全方位的技术支持。让我们深入了解 Spring 生态系统的核心组件及其独特价值。
            </p>
        </div>

        <!-- Core Components Grid -->
        <div class="grid md:grid-cols-2 lg:grid-cols-3 gap-8 mb-12">
            <!-- Spring Core -->
            <div class="bg-white rounded-xl shadow-lg p-6 card-hover">
                <div class="flex items-center mb-4">
                    <i class="fas fa-cube text-4xl feature-icon mr-4"></i>
                    <h3 class="text-2xl font-bold text-gray-800">Spring Core</h3>
                </div>
                <p class="text-gray-600 mb-4">轻量级的 Java 开发框架，提供企业级应用程序的核心功能。</p>
                <div class="space-y-2">
                    <div class="flex items-center">
                        <i class="fas fa-check-circle text-green-500 mr-2"></i>
                        <span class="text-sm">依赖注入 (IoC)</span>
                    </div>
                    <div class="flex items-center">
                        <i class="fas fa-check-circle text-green-500 mr-2"></i>
                        <span class="text-sm">面向切面编程 (AOP)</span>
                    </div>
                    <div class="flex items-center">
                        <i class="fas fa-check-circle text-green-500 mr-2"></i>
                        <span class="text-sm">事务管理</span>
                    </div>
                    <div class="flex items-center">
                        <i class="fas fa-check-circle text-green-500 mr-2"></i>
                        <span class="text-sm">代理模式支持</span>
                    </div>
                </div>
            </div>

            <!-- Spring MVC -->
            <div class="bg-white rounded-xl shadow-lg p-6 card-hover">
                <div class="flex items-center mb-4">
                    <i class="fas fa-globe text-4xl feature-icon mr-4"></i>
                    <h3 class="text-2xl font-bold text-gray-800">Spring MVC</h3>
                </div>
                <p class="text-gray-600 mb-4">基于 MVC 模式的 Web 开发框架，简化 Servlet 开发。</p>
                <div class="space-y-2">
                    <div class="flex items-center">
                        <i class="fas fa-check-circle text-green-500 mr-2"></i>
                        <span class="text-sm">请求处理与路由</span>
                    </div>
                    <div class="flex items-center">
                        <i class="fas fa-check-circle text-green-500 mr-2"></i>
                        <span class="text-sm">数据绑定与验证</span>
                    </div>
                    <div class="flex items-center">
                        <i class="fas fa-check-circle text-green-500 mr-2"></i>
                        <span class="text-sm">视图渲染</span>
                    </div>
                    <div class="flex items-center">
                        <i class="fas fa-check-circle text-green-500 mr-2"></i>
                        <span class="text-sm">拦截器机制</span>
                    </div>
                </div>
            </div>

            <!-- Spring Boot -->
            <div class="bg-white rounded-xl shadow-lg p-6 card-hover">
                <div class="flex items-center mb-4">
                    <i class="fas fa-rocket text-4xl feature-icon mr-4"></i>
                    <h3 class="text-2xl font-bold text-gray-800">Spring Boot</h3>
                </div>
                <p class="text-gray-600 mb-4">快速应用开发框架，约定优于配置，开箱即用。</p>
                <div class="space-y-2">
                    <div class="flex items-center">
                        <i class="fas fa-check-circle text-green-500 mr-2"></i>
                        <span class="text-sm">自动配置</span>
                    </div>
                    <div class="flex items-center">
                        <i class="fas fa-check-circle text-green-500 mr-2"></i>
                        <span class="text-sm">内嵌服务器</span>
                    </div>
                    <div class="flex items-center">
                        <i class="fas fa-check-circle text-green-500 mr-2"></i>
                        <span class="text-sm">快速启动器</span>
                    </div>
                    <div class="flex items-center">
                        <i class="fas fa-check-circle text-green-500 mr-2"></i>
                        <span class="text-sm">生产就绪特性</span>
                    </div>
                </div>
            </div>

            <!-- Spring Cloud -->
            <div class="bg-white rounded-xl shadow-lg p-6 card-hover">
                <div class="flex items-center mb-4">
                    <i class="fas fa-cloud text-4xl feature-icon mr-4"></i>
                    <h3 class="text-2xl font-bold text-gray-800">Spring Cloud</h3>
                </div>
                <p class="text-gray-600 mb-4">分布式系统开发框架，构建微服务架构的利器。</p>
                <div class="space-y-2">
                    <div class="flex items-center">
                        <i class="fas fa-check-circle text-green-500 mr-2"></i>
                        <span class="text-sm">服务发现与注册</span>
                    </div>
                    <div class="flex items-center">
                        <i class="fas fa-check-circle text-green-500 mr-2"></i>
                        <span class="text-sm">负载均衡</span>
                    </div>
                    <div class="flex items-center">
                        <i class="fas fa-check-circle text-green-500 mr-2"></i>
                        <span class="text-sm">配置管理</span>
                    </div>
                    <div class="flex items-center">
                        <i class="fas fa-check-circle text-green-500 mr-2"></i>
                        <span class="text-sm">断路器模式</span>
                    </div>
                </div>
            </div>

            <!-- Spring Security -->
            <div class="bg-white rounded-xl shadow-lg p-6 card-hover">
                <div class="flex items-center mb-4">
                    <i class="fas fa-shield-alt text-4xl feature-icon mr-4"></i>
                    <h3 class="text-2xl font-bold text-gray-800">Spring Security</h3>
                </div>
                <p class="text-gray-600 mb-4">全面的安全解决方案，保护应用程序免受威胁。</p>
                <div class="space-y-2">
                    <div class="flex items-center">
                        <i class="fas fa-check-circle text-green-500 mr-2"></i>
                        <span class="text-sm">身份认证</span>
                    </div>
                    <div class="flex items-center">
                        <i class="fas fa-check-circle text-green-500 mr-2"></i>
                        <span class="text-sm">权限授权</span>
                    </div>
                    <div class="flex items-center">
                        <i class="fas fa-check-circle text-green-500 mr-2"></i>
                        <span class="text-sm">密码加密</span>
                    </div>
                    <div class="flex items-center">
                        <i class="fas fa-check-circle text-green-500 mr-2"></i>
                        <span class="text-sm">安全过滤器链</span>
                    </div>
                </div>
            </div>

            <!-- Spring Session -->
            <div class="bg-white rounded-xl shadow-lg p-6 card-hover">
                <div class="flex items-center mb-4">
                    <i class="fas fa-sync text-4xl feature-icon mr-4"></i>
                    <h3 class="text-2xl font-bold text-gray-800">Spring Session</h3>
                </div>
                <p class="text-gray-600 mb-4">分布式会话管理解决方案，实现会话状态同步。</p>
                <div class="space-y-2">
                    <div class="flex items-center">
                        <i class="fas fa-check-circle text-green-500 mr-2"></i>
                        <span class="text-sm">会话共享</span>
                    </div>
                    <div class="flex items-center">
                        <i class="fas fa-check-circle text-green-500 mr-2"></i>
                        <span class="text-sm">多数据源支持</span>
                    </div>
                    <div class="flex items-center">
                        <i class="fas fa-check-circle text-green-500 mr-2"></i>
                        <span class="text-sm">集群环境适配</span>
                    </div>
                    <div class="flex items-center">
                        <i class="fas fa-check-circle text-green-500 mr-2"></i>
                        <span class="text-sm">透明化集成</span>
                    </div>
                </div>
            </div>
        </div>

        <!-- Architecture Visualization -->
        <div class="bg-white rounded-2xl shadow-xl p-8 mb-12">
            <h2 class="text-3xl font-bold mb-6 text-gray-800">
                <i class="fas fa-sitemap mr-3 text-gradient"></i>Spring 生态系统架构图
            </h2>
            <div class="mermaid">
                graph TB
                    A[Spring Core<br/>核心容器] --> B[Spring MVC<br/>Web框架]
                    A --> C[Spring Boot<br/>快速开发]
                    C --> D[Spring Cloud<br/>微服务]
                    A --> E[Spring Security<br/>安全框架]
                    A --> F[Spring Session<br/>会话管理]
                    
                    B --> G[Controller<br/>控制器]
                    B --> H[View<br/>视图]
                